﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommonEntity.CommonImageEntities;
using itk.simple;

namespace ImageDomain.DE;
public interface IImage3d : IDisposable
{
    public bool IsMask { get;}
    public int OriginWindowMin { get;}
    public int OriginWindowMax { get;}
    public double[]? Spacing { get;}
    public double[]? Origin { get;}
    public double[]? Direction { get;}
    public uint[]? OriginSize { get;}
    public double ImageFactor { get;}
    public string SeriesDescription { get; }

    public Image? ItkImage { get; }

    public Dictionary<string, string> Tags { get;}

    public WindowAdjust WinAdjust { get;}

    public Task SetImage(IList<string> files);
    public Task SetImage(string file);

    /// <summary>
    /// 设置窗宽窗位
    /// </summary>
    /// <param name="start"></param>
    /// <param name="end"></param>
    public void SetWindowWidthCenter(int start, int end);

}
